package org.net.cms.controller.admin.notice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class NoticeReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Integer id;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    private String title;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
    private String content;

    @Schema(description = "发布状态（0: 未发布, 1: 已发布）", requiredMode = Schema.RequiredMode.REQUIRED)
    private int status;

    @Schema(description = "发布日期", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private LocalDate date;
}
